package com.zhihuiyanche.domain;

import java.util.ArrayList;
import java.util.List;

public class OrdersExample
{
	protected String			orderByClause;

	protected boolean			distinct;

	protected List<Criteria>	oredCriteria;

	public OrdersExample()
	{
		oredCriteria = new ArrayList<Criteria>();
	}

	public void setOrderByClause(String orderByClause)
	{
		this.orderByClause = orderByClause;
	}

	public String getOrderByClause()
	{
		return orderByClause;
	}

	public void setDistinct(boolean distinct)
	{
		this.distinct = distinct;
	}

	public boolean isDistinct()
	{
		return distinct;
	}

	public List<Criteria> getOredCriteria()
	{
		return oredCriteria;
	}

	public void or(Criteria criteria)
	{
		oredCriteria.add(criteria);
	}

	public Criteria or()
	{
		Criteria criteria = createCriteriaInternal();
		oredCriteria.add(criteria);
		return criteria;
	}

	public Criteria createCriteria()
	{
		Criteria criteria = createCriteriaInternal();
		if (oredCriteria.size() == 0)
		{
			oredCriteria.add(criteria);
		}
		return criteria;
	}

	protected Criteria createCriteriaInternal()
	{
		Criteria criteria = new Criteria();
		return criteria;
	}

	public void clear()
	{
		oredCriteria.clear();
		orderByClause = null;
		distinct = false;
	}

	protected abstract static class GeneratedCriteria
	{
		protected List<Criterion>	criteria;

		protected GeneratedCriteria()
		{
			super();
			criteria = new ArrayList<Criterion>();
		}

		public boolean isValid()
		{
			return criteria.size() > 0;
		}

		public List<Criterion> getAllCriteria()
		{
			return criteria;
		}

		public List<Criterion> getCriteria()
		{
			return criteria;
		}

		protected void addCriterion(String condition)
		{
			if (condition == null)
			{
				throw new RuntimeException("Value for condition cannot be null");
			}
			criteria.add(new Criterion(condition));
		}

		protected void addCriterion(String condition, Object value, String property)
		{
			if (value == null)
			{
				throw new RuntimeException("Value for " + property + " cannot be null");
			}
			criteria.add(new Criterion(condition, value));
		}

		protected void addCriterion(String condition, Object value1, Object value2, String property)
		{
			if (value1 == null || value2 == null)
			{
				throw new RuntimeException("Between values for " + property + " cannot be null");
			}
			criteria.add(new Criterion(condition, value1, value2));
		}

		public Criteria andIdIsNull()
		{
			addCriterion("id is null");
			return (Criteria) this;
		}

		public Criteria andIdIsNotNull()
		{
			addCriterion("id is not null");
			return (Criteria) this;
		}

		public Criteria andIdEqualTo(String value)
		{
			addCriterion("id =", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdNotEqualTo(String value)
		{
			addCriterion("id <>", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdGreaterThan(String value)
		{
			addCriterion("id >", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdGreaterThanOrEqualTo(String value)
		{
			addCriterion("id >=", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdLessThan(String value)
		{
			addCriterion("id <", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdLessThanOrEqualTo(String value)
		{
			addCriterion("id <=", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdLike(String value)
		{
			addCriterion("id like", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdNotLike(String value)
		{
			addCriterion("id not like", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdIn(List<String> values)
		{
			addCriterion("id in", values, "id");
			return (Criteria) this;
		}

		public Criteria andIdNotIn(List<String> values)
		{
			addCriterion("id not in", values, "id");
			return (Criteria) this;
		}

		public Criteria andIdBetween(String value1, String value2)
		{
			addCriterion("id between", value1, value2, "id");
			return (Criteria) this;
		}

		public Criteria andIdNotBetween(String value1, String value2)
		{
			addCriterion("id not between", value1, value2, "id");
			return (Criteria) this;
		}

		public Criteria andShopIdIsNull()
		{
			addCriterion("shop_id is null");
			return (Criteria) this;
		}

		public Criteria andShopIdIsNotNull()
		{
			addCriterion("shop_id is not null");
			return (Criteria) this;
		}

		public Criteria andShopIdEqualTo(String value)
		{
			addCriterion("shop_id =", value, "shopId");
			return (Criteria) this;
		}

		public Criteria andShopIdNotEqualTo(String value)
		{
			addCriterion("shop_id <>", value, "shopId");
			return (Criteria) this;
		}

		public Criteria andShopIdGreaterThan(String value)
		{
			addCriterion("shop_id >", value, "shopId");
			return (Criteria) this;
		}

		public Criteria andShopIdGreaterThanOrEqualTo(String value)
		{
			addCriterion("shop_id >=", value, "shopId");
			return (Criteria) this;
		}

		public Criteria andShopIdLessThan(String value)
		{
			addCriterion("shop_id <", value, "shopId");
			return (Criteria) this;
		}

		public Criteria andShopIdLessThanOrEqualTo(String value)
		{
			addCriterion("shop_id <=", value, "shopId");
			return (Criteria) this;
		}

		public Criteria andShopIdLike(String value)
		{
			addCriterion("shop_id like", value, "shopId");
			return (Criteria) this;
		}

		public Criteria andShopIdNotLike(String value)
		{
			addCriterion("shop_id not like", value, "shopId");
			return (Criteria) this;
		}

		public Criteria andShopIdIn(List<String> values)
		{
			addCriterion("shop_id in", values, "shopId");
			return (Criteria) this;
		}

		public Criteria andShopIdNotIn(List<String> values)
		{
			addCriterion("shop_id not in", values, "shopId");
			return (Criteria) this;
		}

		public Criteria andShopIdBetween(String value1, String value2)
		{
			addCriterion("shop_id between", value1, value2, "shopId");
			return (Criteria) this;
		}

		public Criteria andShopIdNotBetween(String value1, String value2)
		{
			addCriterion("shop_id not between", value1, value2, "shopId");
			return (Criteria) this;
		}

		public Criteria andVehicleIdIsNull()
		{
			addCriterion("vehicle_id is null");
			return (Criteria) this;
		}

		public Criteria andVehicleIdIsNotNull()
		{
			addCriterion("vehicle_id is not null");
			return (Criteria) this;
		}

		public Criteria andVehicleIdEqualTo(String value)
		{
			addCriterion("vehicle_id =", value, "vehicleId");
			return (Criteria) this;
		}

		public Criteria andVehicleIdNotEqualTo(String value)
		{
			addCriterion("vehicle_id <>", value, "vehicleId");
			return (Criteria) this;
		}

		public Criteria andVehicleIdGreaterThan(String value)
		{
			addCriterion("vehicle_id >", value, "vehicleId");
			return (Criteria) this;
		}

		public Criteria andVehicleIdGreaterThanOrEqualTo(String value)
		{
			addCriterion("vehicle_id >=", value, "vehicleId");
			return (Criteria) this;
		}

		public Criteria andVehicleIdLessThan(String value)
		{
			addCriterion("vehicle_id <", value, "vehicleId");
			return (Criteria) this;
		}

		public Criteria andVehicleIdLessThanOrEqualTo(String value)
		{
			addCriterion("vehicle_id <=", value, "vehicleId");
			return (Criteria) this;
		}

		public Criteria andVehicleIdLike(String value)
		{
			addCriterion("vehicle_id like", value, "vehicleId");
			return (Criteria) this;
		}

		public Criteria andVehicleIdNotLike(String value)
		{
			addCriterion("vehicle_id not like", value, "vehicleId");
			return (Criteria) this;
		}

		public Criteria andVehicleIdIn(List<String> values)
		{
			addCriterion("vehicle_id in", values, "vehicleId");
			return (Criteria) this;
		}

		public Criteria andVehicleIdNotIn(List<String> values)
		{
			addCriterion("vehicle_id not in", values, "vehicleId");
			return (Criteria) this;
		}

		public Criteria andVehicleIdBetween(String value1, String value2)
		{
			addCriterion("vehicle_id between", value1, value2, "vehicleId");
			return (Criteria) this;
		}

		public Criteria andVehicleIdNotBetween(String value1, String value2)
		{
			addCriterion("vehicle_id not between", value1, value2, "vehicleId");
			return (Criteria) this;
		}

		public Criteria andAmountIsNull()
		{
			addCriterion("amount is null");
			return (Criteria) this;
		}

		public Criteria andAmountIsNotNull()
		{
			addCriterion("amount is not null");
			return (Criteria) this;
		}

		public Criteria andAmountEqualTo(Long value)
		{
			addCriterion("amount =", value, "amount");
			return (Criteria) this;
		}

		public Criteria andAmountNotEqualTo(Long value)
		{
			addCriterion("amount <>", value, "amount");
			return (Criteria) this;
		}

		public Criteria andAmountGreaterThan(Long value)
		{
			addCriterion("amount >", value, "amount");
			return (Criteria) this;
		}

		public Criteria andAmountGreaterThanOrEqualTo(Long value)
		{
			addCriterion("amount >=", value, "amount");
			return (Criteria) this;
		}

		public Criteria andAmountLessThan(Long value)
		{
			addCriterion("amount <", value, "amount");
			return (Criteria) this;
		}

		public Criteria andAmountLessThanOrEqualTo(Long value)
		{
			addCriterion("amount <=", value, "amount");
			return (Criteria) this;
		}

		public Criteria andAmountIn(List<Long> values)
		{
			addCriterion("amount in", values, "amount");
			return (Criteria) this;
		}

		public Criteria andAmountNotIn(List<Long> values)
		{
			addCriterion("amount not in", values, "amount");
			return (Criteria) this;
		}

		public Criteria andAmountBetween(Long value1, Long value2)
		{
			addCriterion("amount between", value1, value2, "amount");
			return (Criteria) this;
		}

		public Criteria andAmountNotBetween(Long value1, Long value2)
		{
			addCriterion("amount not between", value1, value2, "amount");
			return (Criteria) this;
		}

		public Criteria andIsPayedIsNull()
		{
			addCriterion("is_payed is null");
			return (Criteria) this;
		}

		public Criteria andIsPayedIsNotNull()
		{
			addCriterion("is_payed is not null");
			return (Criteria) this;
		}

		public Criteria andIsPayedEqualTo(Integer value)
		{
			addCriterion("is_payed =", value, "isPayed");
			return (Criteria) this;
		}

		public Criteria andIsPayedNotEqualTo(Integer value)
		{
			addCriterion("is_payed <>", value, "isPayed");
			return (Criteria) this;
		}

		public Criteria andIsPayedGreaterThan(Integer value)
		{
			addCriterion("is_payed >", value, "isPayed");
			return (Criteria) this;
		}

		public Criteria andIsPayedGreaterThanOrEqualTo(Integer value)
		{
			addCriterion("is_payed >=", value, "isPayed");
			return (Criteria) this;
		}

		public Criteria andIsPayedLessThan(Integer value)
		{
			addCriterion("is_payed <", value, "isPayed");
			return (Criteria) this;
		}

		public Criteria andIsPayedLessThanOrEqualTo(Integer value)
		{
			addCriterion("is_payed <=", value, "isPayed");
			return (Criteria) this;
		}

		public Criteria andIsPayedIn(List<Integer> values)
		{
			addCriterion("is_payed in", values, "isPayed");
			return (Criteria) this;
		}

		public Criteria andIsPayedNotIn(List<Integer> values)
		{
			addCriterion("is_payed not in", values, "isPayed");
			return (Criteria) this;
		}

		public Criteria andIsPayedBetween(Integer value1, Integer value2)
		{
			addCriterion("is_payed between", value1, value2, "isPayed");
			return (Criteria) this;
		}

		public Criteria andIsPayedNotBetween(Integer value1, Integer value2)
		{
			addCriterion("is_payed not between", value1, value2, "isPayed");
			return (Criteria) this;
		}

		public Criteria andPayWayIsNull()
		{
			addCriterion("pay_way is null");
			return (Criteria) this;
		}

		public Criteria andPayWayIsNotNull()
		{
			addCriterion("pay_way is not null");
			return (Criteria) this;
		}

		public Criteria andPayWayEqualTo(String value)
		{
			addCriterion("pay_way =", value, "payWay");
			return (Criteria) this;
		}

		public Criteria andPayWayNotEqualTo(String value)
		{
			addCriterion("pay_way <>", value, "payWay");
			return (Criteria) this;
		}

		public Criteria andPayWayGreaterThan(String value)
		{
			addCriterion("pay_way >", value, "payWay");
			return (Criteria) this;
		}

		public Criteria andPayWayGreaterThanOrEqualTo(String value)
		{
			addCriterion("pay_way >=", value, "payWay");
			return (Criteria) this;
		}

		public Criteria andPayWayLessThan(String value)
		{
			addCriterion("pay_way <", value, "payWay");
			return (Criteria) this;
		}

		public Criteria andPayWayLessThanOrEqualTo(String value)
		{
			addCriterion("pay_way <=", value, "payWay");
			return (Criteria) this;
		}

		public Criteria andPayWayLike(String value)
		{
			addCriterion("pay_way like", value, "payWay");
			return (Criteria) this;
		}

		public Criteria andPayWayNotLike(String value)
		{
			addCriterion("pay_way not like", value, "payWay");
			return (Criteria) this;
		}

		public Criteria andPayWayIn(List<String> values)
		{
			addCriterion("pay_way in", values, "payWay");
			return (Criteria) this;
		}

		public Criteria andPayWayNotIn(List<String> values)
		{
			addCriterion("pay_way not in", values, "payWay");
			return (Criteria) this;
		}

		public Criteria andPayWayBetween(String value1, String value2)
		{
			addCriterion("pay_way between", value1, value2, "payWay");
			return (Criteria) this;
		}

		public Criteria andPayWayNotBetween(String value1, String value2)
		{
			addCriterion("pay_way not between", value1, value2, "payWay");
			return (Criteria) this;
		}

		public Criteria andOrderDateIsNull()
		{
			addCriterion("order_date is null");
			return (Criteria) this;
		}

		public Criteria andOrderDateIsNotNull()
		{
			addCriterion("order_date is not null");
			return (Criteria) this;
		}

		public Criteria andOrderDateEqualTo(String value)
		{
			addCriterion("order_date =", value, "orderDate");
			return (Criteria) this;
		}

		public Criteria andOrderDateNotEqualTo(String value)
		{
			addCriterion("order_date <>", value, "orderDate");
			return (Criteria) this;
		}

		public Criteria andOrderDateGreaterThan(String value)
		{
			addCriterion("order_date >", value, "orderDate");
			return (Criteria) this;
		}

		public Criteria andOrderDateGreaterThanOrEqualTo(String value)
		{
			addCriterion("order_date >=", value, "orderDate");
			return (Criteria) this;
		}

		public Criteria andOrderDateLessThan(String value)
		{
			addCriterion("order_date <", value, "orderDate");
			return (Criteria) this;
		}

		public Criteria andOrderDateLessThanOrEqualTo(String value)
		{
			addCriterion("order_date <=", value, "orderDate");
			return (Criteria) this;
		}

		public Criteria andOrderDateLike(String value)
		{
			addCriterion("order_date like", value, "orderDate");
			return (Criteria) this;
		}

		public Criteria andOrderDateNotLike(String value)
		{
			addCriterion("order_date not like", value, "orderDate");
			return (Criteria) this;
		}

		public Criteria andOrderDateIn(List<String> values)
		{
			addCriterion("order_date in", values, "orderDate");
			return (Criteria) this;
		}

		public Criteria andOrderDateNotIn(List<String> values)
		{
			addCriterion("order_date not in", values, "orderDate");
			return (Criteria) this;
		}

		public Criteria andOrderDateBetween(String value1, String value2)
		{
			addCriterion("order_date between", value1, value2, "orderDate");
			return (Criteria) this;
		}

		public Criteria andOrderDateNotBetween(String value1, String value2)
		{
			addCriterion("order_date not between", value1, value2, "orderDate");
			return (Criteria) this;
		}

		public Criteria andOrderTimeIsNull()
		{
			addCriterion("order_time is null");
			return (Criteria) this;
		}

		public Criteria andOrderTimeIsNotNull()
		{
			addCriterion("order_time is not null");
			return (Criteria) this;
		}

		public Criteria andOrderTimeEqualTo(String value)
		{
			addCriterion("order_time =", value, "orderTime");
			return (Criteria) this;
		}

		public Criteria andOrderTimeNotEqualTo(String value)
		{
			addCriterion("order_time <>", value, "orderTime");
			return (Criteria) this;
		}

		public Criteria andOrderTimeGreaterThan(String value)
		{
			addCriterion("order_time >", value, "orderTime");
			return (Criteria) this;
		}

		public Criteria andOrderTimeGreaterThanOrEqualTo(String value)
		{
			addCriterion("order_time >=", value, "orderTime");
			return (Criteria) this;
		}

		public Criteria andOrderTimeLessThan(String value)
		{
			addCriterion("order_time <", value, "orderTime");
			return (Criteria) this;
		}

		public Criteria andOrderTimeLessThanOrEqualTo(String value)
		{
			addCriterion("order_time <=", value, "orderTime");
			return (Criteria) this;
		}

		public Criteria andOrderTimeLike(String value)
		{
			addCriterion("order_time like", value, "orderTime");
			return (Criteria) this;
		}

		public Criteria andOrderTimeNotLike(String value)
		{
			addCriterion("order_time not like", value, "orderTime");
			return (Criteria) this;
		}

		public Criteria andOrderTimeIn(List<String> values)
		{
			addCriterion("order_time in", values, "orderTime");
			return (Criteria) this;
		}

		public Criteria andOrderTimeNotIn(List<String> values)
		{
			addCriterion("order_time not in", values, "orderTime");
			return (Criteria) this;
		}

		public Criteria andOrderTimeBetween(String value1, String value2)
		{
			addCriterion("order_time between", value1, value2, "orderTime");
			return (Criteria) this;
		}

		public Criteria andOrderTimeNotBetween(String value1, String value2)
		{
			addCriterion("order_time not between", value1, value2, "orderTime");
			return (Criteria) this;
		}

		public Criteria andCreateDateIsNull()
		{
			addCriterion("create_date is null");
			return (Criteria) this;
		}

		public Criteria andCreateDateIsNotNull()
		{
			addCriterion("create_date is not null");
			return (Criteria) this;
		}

		public Criteria andCreateDateEqualTo(String value)
		{
			addCriterion("create_date =", value, "createDate");
			return (Criteria) this;
		}

		public Criteria andCreateDateNotEqualTo(String value)
		{
			addCriterion("create_date <>", value, "createDate");
			return (Criteria) this;
		}

		public Criteria andCreateDateGreaterThan(String value)
		{
			addCriterion("create_date >", value, "createDate");
			return (Criteria) this;
		}

		public Criteria andCreateDateGreaterThanOrEqualTo(String value)
		{
			addCriterion("create_date >=", value, "createDate");
			return (Criteria) this;
		}

		public Criteria andCreateDateLessThan(String value)
		{
			addCriterion("create_date <", value, "createDate");
			return (Criteria) this;
		}

		public Criteria andCreateDateLessThanOrEqualTo(String value)
		{
			addCriterion("create_date <=", value, "createDate");
			return (Criteria) this;
		}

		public Criteria andCreateDateLike(String value)
		{
			addCriterion("create_date like", value, "createDate");
			return (Criteria) this;
		}

		public Criteria andCreateDateNotLike(String value)
		{
			addCriterion("create_date not like", value, "createDate");
			return (Criteria) this;
		}

		public Criteria andCreateDateIn(List<String> values)
		{
			addCriterion("create_date in", values, "createDate");
			return (Criteria) this;
		}

		public Criteria andCreateDateNotIn(List<String> values)
		{
			addCriterion("create_date not in", values, "createDate");
			return (Criteria) this;
		}

		public Criteria andCreateDateBetween(String value1, String value2)
		{
			addCriterion("create_date between", value1, value2, "createDate");
			return (Criteria) this;
		}

		public Criteria andCreateDateNotBetween(String value1, String value2)
		{
			addCriterion("create_date not between", value1, value2, "createDate");
			return (Criteria) this;
		}

		public Criteria andIsValidIsNull()
		{
			addCriterion("is_valid is null");
			return (Criteria) this;
		}

		public Criteria andIsValidIsNotNull()
		{
			addCriterion("is_valid is not null");
			return (Criteria) this;
		}

		public Criteria andIsValidEqualTo(Integer value)
		{
			addCriterion("is_valid =", value, "isValid");
			return (Criteria) this;
		}

		public Criteria andIsValidNotEqualTo(Integer value)
		{
			addCriterion("is_valid <>", value, "isValid");
			return (Criteria) this;
		}

		public Criteria andIsValidGreaterThan(Integer value)
		{
			addCriterion("is_valid >", value, "isValid");
			return (Criteria) this;
		}

		public Criteria andIsValidGreaterThanOrEqualTo(Integer value)
		{
			addCriterion("is_valid >=", value, "isValid");
			return (Criteria) this;
		}

		public Criteria andIsValidLessThan(Integer value)
		{
			addCriterion("is_valid <", value, "isValid");
			return (Criteria) this;
		}

		public Criteria andIsValidLessThanOrEqualTo(Integer value)
		{
			addCriterion("is_valid <=", value, "isValid");
			return (Criteria) this;
		}

		public Criteria andIsValidIn(List<Integer> values)
		{
			addCriterion("is_valid in", values, "isValid");
			return (Criteria) this;
		}

		public Criteria andIsValidNotIn(List<Integer> values)
		{
			addCriterion("is_valid not in", values, "isValid");
			return (Criteria) this;
		}

		public Criteria andIsValidBetween(Integer value1, Integer value2)
		{
			addCriterion("is_valid between", value1, value2, "isValid");
			return (Criteria) this;
		}

		public Criteria andIsValidNotBetween(Integer value1, Integer value2)
		{
			addCriterion("is_valid not between", value1, value2, "isValid");
			return (Criteria) this;
		}

		public Criteria andSourceIsNull()
		{
			addCriterion("source is null");
			return (Criteria) this;
		}

		public Criteria andSourceIsNotNull()
		{
			addCriterion("source is not null");
			return (Criteria) this;
		}

		public Criteria andSourceEqualTo(String value)
		{
			addCriterion("source =", value, "source");
			return (Criteria) this;
		}

		public Criteria andSourceNotEqualTo(String value)
		{
			addCriterion("source <>", value, "source");
			return (Criteria) this;
		}

		public Criteria andSourceGreaterThan(String value)
		{
			addCriterion("source >", value, "source");
			return (Criteria) this;
		}

		public Criteria andSourceGreaterThanOrEqualTo(String value)
		{
			addCriterion("source >=", value, "source");
			return (Criteria) this;
		}

		public Criteria andSourceLessThan(String value)
		{
			addCriterion("source <", value, "source");
			return (Criteria) this;
		}

		public Criteria andSourceLessThanOrEqualTo(String value)
		{
			addCriterion("source <=", value, "source");
			return (Criteria) this;
		}

		public Criteria andSourceLike(String value)
		{
			addCriterion("source like", value, "source");
			return (Criteria) this;
		}

		public Criteria andSourceNotLike(String value)
		{
			addCriterion("source not like", value, "source");
			return (Criteria) this;
		}

		public Criteria andSourceIn(List<String> values)
		{
			addCriterion("source in", values, "source");
			return (Criteria) this;
		}

		public Criteria andSourceNotIn(List<String> values)
		{
			addCriterion("source not in", values, "source");
			return (Criteria) this;
		}

		public Criteria andSourceBetween(String value1, String value2)
		{
			addCriterion("source between", value1, value2, "source");
			return (Criteria) this;
		}

		public Criteria andSourceNotBetween(String value1, String value2)
		{
			addCriterion("source not between", value1, value2, "source");
			return (Criteria) this;
		}

		public Criteria andIsSuccessIsNull()
		{
			addCriterion("is_success is null");
			return (Criteria) this;
		}

		public Criteria andIsSuccessIsNotNull()
		{
			addCriterion("is_success is not null");
			return (Criteria) this;
		}

		public Criteria andIsSuccessEqualTo(Integer value)
		{
			addCriterion("is_success =", value, "isSuccess");
			return (Criteria) this;
		}

		public Criteria andIsSuccessNotEqualTo(Integer value)
		{
			addCriterion("is_success <>", value, "isSuccess");
			return (Criteria) this;
		}

		public Criteria andIsSuccessGreaterThan(Integer value)
		{
			addCriterion("is_success >", value, "isSuccess");
			return (Criteria) this;
		}

		public Criteria andIsSuccessGreaterThanOrEqualTo(Integer value)
		{
			addCriterion("is_success >=", value, "isSuccess");
			return (Criteria) this;
		}

		public Criteria andIsSuccessLessThan(Integer value)
		{
			addCriterion("is_success <", value, "isSuccess");
			return (Criteria) this;
		}

		public Criteria andIsSuccessLessThanOrEqualTo(Integer value)
		{
			addCriterion("is_success <=", value, "isSuccess");
			return (Criteria) this;
		}

		public Criteria andIsSuccessIn(List<Integer> values)
		{
			addCriterion("is_success in", values, "isSuccess");
			return (Criteria) this;
		}

		public Criteria andIsSuccessNotIn(List<Integer> values)
		{
			addCriterion("is_success not in", values, "isSuccess");
			return (Criteria) this;
		}

		public Criteria andIsSuccessBetween(Integer value1, Integer value2)
		{
			addCriterion("is_success between", value1, value2, "isSuccess");
			return (Criteria) this;
		}

		public Criteria andIsSuccessNotBetween(Integer value1, Integer value2)
		{
			addCriterion("is_success not between", value1, value2, "isSuccess");
			return (Criteria) this;
		}

		public Criteria andFailReasonIsNull()
		{
			addCriterion("fail_reason is null");
			return (Criteria) this;
		}

		public Criteria andFailReasonIsNotNull()
		{
			addCriterion("fail_reason is not null");
			return (Criteria) this;
		}

		public Criteria andFailReasonEqualTo(String value)
		{
			addCriterion("fail_reason =", value, "failReason");
			return (Criteria) this;
		}

		public Criteria andFailReasonNotEqualTo(String value)
		{
			addCriterion("fail_reason <>", value, "failReason");
			return (Criteria) this;
		}

		public Criteria andFailReasonGreaterThan(String value)
		{
			addCriterion("fail_reason >", value, "failReason");
			return (Criteria) this;
		}

		public Criteria andFailReasonGreaterThanOrEqualTo(String value)
		{
			addCriterion("fail_reason >=", value, "failReason");
			return (Criteria) this;
		}

		public Criteria andFailReasonLessThan(String value)
		{
			addCriterion("fail_reason <", value, "failReason");
			return (Criteria) this;
		}

		public Criteria andFailReasonLessThanOrEqualTo(String value)
		{
			addCriterion("fail_reason <=", value, "failReason");
			return (Criteria) this;
		}

		public Criteria andFailReasonLike(String value)
		{
			addCriterion("fail_reason like", value, "failReason");
			return (Criteria) this;
		}

		public Criteria andFailReasonNotLike(String value)
		{
			addCriterion("fail_reason not like", value, "failReason");
			return (Criteria) this;
		}

		public Criteria andFailReasonIn(List<String> values)
		{
			addCriterion("fail_reason in", values, "failReason");
			return (Criteria) this;
		}

		public Criteria andFailReasonNotIn(List<String> values)
		{
			addCriterion("fail_reason not in", values, "failReason");
			return (Criteria) this;
		}

		public Criteria andFailReasonBetween(String value1, String value2)
		{
			addCriterion("fail_reason between", value1, value2, "failReason");
			return (Criteria) this;
		}

		public Criteria andFailReasonNotBetween(String value1, String value2)
		{
			addCriterion("fail_reason not between", value1, value2, "failReason");
			return (Criteria) this;
		}

		public Criteria andOptStateIsNull()
		{
			addCriterion("opt_state is null");
			return (Criteria) this;
		}

		public Criteria andOptStateIsNotNull()
		{
			addCriterion("opt_state is not null");
			return (Criteria) this;
		}

		public Criteria andOptStateEqualTo(String value)
		{
			addCriterion("opt_state =", value, "optState");
			return (Criteria) this;
		}

		public Criteria andOptStateNotEqualTo(String value)
		{
			addCriterion("opt_state <>", value, "optState");
			return (Criteria) this;
		}

		public Criteria andOptStateGreaterThan(String value)
		{
			addCriterion("opt_state >", value, "optState");
			return (Criteria) this;
		}

		public Criteria andOptStateGreaterThanOrEqualTo(String value)
		{
			addCriterion("opt_state >=", value, "optState");
			return (Criteria) this;
		}

		public Criteria andOptStateLessThan(String value)
		{
			addCriterion("opt_state <", value, "optState");
			return (Criteria) this;
		}

		public Criteria andOptStateLessThanOrEqualTo(String value)
		{
			addCriterion("opt_state <=", value, "optState");
			return (Criteria) this;
		}

		public Criteria andOptStateLike(String value)
		{
			addCriterion("opt_state like", value, "optState");
			return (Criteria) this;
		}

		public Criteria andOptStateNotLike(String value)
		{
			addCriterion("opt_state not like", value, "optState");
			return (Criteria) this;
		}

		public Criteria andOptStateIn(List<String> values)
		{
			addCriterion("opt_state in", values, "optState");
			return (Criteria) this;
		}

		public Criteria andOptStateNotIn(List<String> values)
		{
			addCriterion("opt_state not in", values, "optState");
			return (Criteria) this;
		}

		public Criteria andOptStateBetween(String value1, String value2)
		{
			addCriterion("opt_state between", value1, value2, "optState");
			return (Criteria) this;
		}

		public Criteria andOptStateNotBetween(String value1, String value2)
		{
			addCriterion("opt_state not between", value1, value2, "optState");
			return (Criteria) this;
		}
	}

	public static class Criteria extends GeneratedCriteria
	{

		protected Criteria()
		{
			super();
		}
	}

	public static class Criterion
	{
		private String	condition;

		private Object	value;

		private Object	secondValue;

		private boolean	noValue;

		private boolean	singleValue;

		private boolean	betweenValue;

		private boolean	listValue;

		private String	typeHandler;

		public String getCondition()
		{
			return condition;
		}

		public Object getValue()
		{
			return value;
		}

		public Object getSecondValue()
		{
			return secondValue;
		}

		public boolean isNoValue()
		{
			return noValue;
		}

		public boolean isSingleValue()
		{
			return singleValue;
		}

		public boolean isBetweenValue()
		{
			return betweenValue;
		}

		public boolean isListValue()
		{
			return listValue;
		}

		public String getTypeHandler()
		{
			return typeHandler;
		}

		protected Criterion(String condition)
		{
			super();
			this.condition = condition;
			this.typeHandler = null;
			this.noValue = true;
		}

		protected Criterion(String condition, Object value, String typeHandler)
		{
			super();
			this.condition = condition;
			this.value = value;
			this.typeHandler = typeHandler;
			if (value instanceof List<?>)
			{
				this.listValue = true;
			}
			else
			{
				this.singleValue = true;
			}
		}

		protected Criterion(String condition, Object value)
		{
			this(condition, value, null);
		}

		protected Criterion(String condition, Object value, Object secondValue, String typeHandler)
		{
			super();
			this.condition = condition;
			this.value = value;
			this.secondValue = secondValue;
			this.typeHandler = typeHandler;
			this.betweenValue = true;
		}

		protected Criterion(String condition, Object value, Object secondValue)
		{
			this(condition, value, secondValue, null);
		}
	}
}